/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ihm_clarifiee.Control;

import ihm_clarifiee.application.*;
import java.util.Date;

import ihm_clarifiee.Presentation.*;
import ihm_clarifiee.application.*;
import ihm_clarifiee.Control.*;
/**
 *
 * @author Revan
 */
public class CUsine extends Usine{

    public Projet newProjet(Usine u,String titre,String des,String objectif, Date datedebut, Integer duree)
    {
        return new CProjet(u,titre, des, objectif, datedebut, duree);
    }

    public Backlog newBacklog(Projet p)
    {
       return new CBacklog(p);
    }

    public Release newRelease(Usine u,Projet pr,String nom,String objectif,Date datedebut,Date datefin)
    {
    return new CRelease(u,pr, nom, objectif, datedebut, datefin);
    }

    public Histoire newHistoire (Backlog bk,String nom,String desc,int dure, Theme th, int etat)
    {
        return new CHistoire(bk, nom, desc, dure, th, etat);
    }

    public Sprint newSprint(String nom,Date datedebut,Date datefin,String objectifs)
    {
        return new CSprint(nom, datedebut, datefin, objectifs);
    }
}
